#app {
  display: flex;
}

aside {
  width: 200px;
  height: 100vh;
  background-color: #304156;
  overflow-y: auto;

  .slogan {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;

    img {
      width: 80%;
    }
  }

  > #dynamic_menu {
    width: 100%;
    margin-top: 40px;

    > a {
      width: 100%;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;

      transition: all 0.3s;
      color: white;

      &:hover {
        background-color: rgba(0, 0, 0, 0.2);
      }

      &.active {
        background-color: rgba(0, 0, 0, 0.2);
        color: red;
      }
    }
  }
}

main {
  box-sizing: border-box;
  overflow: auto;
  width: calc(100% - 200px);
  height: 100vh;
  background-color: var(--bg);
  padding: 20px;
  color: var(--font_1);
  .userinfo {
    width: 100%;
    display: flex;
    background-color: var(--card_bg);

    border-radius: 5px;

    .left {
      width: 20%;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        width: 80px;
        border-radius: 50%;
      }
    }

    .right {
      width: 50%;
      display: flex;
      flex-wrap: wrap;

      .item {
        width: 50%;
        height: 40px;
        display: flex;

        align-items: center;
      }
    }

    .theme {
      width: 30%;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        width: 20px;
        height: 20px;
        cursor: pointer;
      }
    }

  }

  .action {
    width: 100%;
    height: 60px;
    border-radius: 5px;
    margin-top: 20px;
    background-color: var(--card_bg);
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .edit_info {
    > div {
      margin-top: 10px;

      label {
        display: block;
        margin-bottom: 5px;
      }

      .send_email {
        .el-button {
          width: 150px;
        }
      }
    }
  }

  .no_article {
    text-align: center;
    margin-top: 20px;
  }

  .collection_all_article {
    margin-top: 20PX;
    border-radius: 5px;

    p {

      font-size: 14px;
      color: #333;
      margin-bottom: 5px;
    }

    .article_list {
      margin-top: 10px;
      width: 100%;
      display: flex;
      flex-wrap: wrap;

      .item {
        box-sizing: border-box;
        width: 33.33%;
        display: flex;
        padding: 20px;

        .left {
          width: 30%;

          img {
            width: 100%;
          }
        }

        .right {
          width: 70%;
          box-sizing: border-box;

          padding-left: 10px;

          p {
            display: -webkit-box;
            overflow: hidden;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }
        }
      }
    }
  }
}

.collection_table {
  width: 100%;
  border-spacing: 1px;
  border-radius: 5px; // 给表格设置圆角
  overflow: hidden;
  border: 1px solid #a0b1c5;


  thead {

    tr {
      color: #333;
      font-weight: 600;
      height: 50px;
      background-color: white;

      th {

      }
    }
  }

  tbody {
    tr {
      height: 40px;
      font-size: 14px;
      transition: all 0.3s;

      td {
        text-align: center;

        a {
          color: #304156;
        }
      }

      .select {
        input {
          cursor: pointer;
        }
      }

      .tags {
        i {
          margin-right: 5px;
          padding: 0 5px;
          color: white;
          border-radius: 5px;
          font-size: 12px;
          height: 20px;
          display: inline-flex;
          align-items: center;
        }

        i:nth-child(4n) {
          background-color: #ff9800;
        }

        i:nth-child(4n+1) {
          background-color: #dd6161;
        }

        i:nth-child(4n+2) {
          background-color: #26c6da;
        }

        i:nth-child(4n+3) {
          background-color: #3a8ee6;
        }

        i:last-child {
          margin-right: 0;
        }
      }
    }

    tr:nth-of-type(odd) {
      background-color: #f6f7fa;

      &:hover {
        background-color: #e3e6ee;
      }
    }

    tr:nth-of-type(even) {
      background-color: #fff;

      &:hover {
        background-color: #eceff5;
      }
    }
  }

}

.cancel_btn {
  margin-top: 20px;
  border-radius: 5px;
  outline: none;
  border: 1px solid #f0eeee;
  width: 100px;
  height: 40px;
  cursor: pointer;
  color: white;
  background-color: #666d83;
}
